<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<TR>
	<TD vAlign=top width=75>
	<table border="0">
		<tr>
			<td colspan="2"><A title="${tag.mainURL}" href="${tag.mainURL}"
				target="_blank"> <IMG class=tagIcon src="${tag.icon}"></A>
			<td>
		<tr>
			<td height="35" width="35" bgcolor="#FFCC66" align="center"><span
				id="diggCount_${tag.tagId}" style="font-size:24px;">${tag.diggCount}</span></td>
			<td width="40" align="center"><span
				id="diggStatus_${tag.tagId}"> 
			<c:set var="isSaved"
				value="false" />
				
			<c:if test="${loginFans.fansId==-1}">
					<a href="javascript:digg(${tag.tagId})" style="font-size:20px;text-decoration: none;">顶！</a>
			</c:if>	
			
			<c:if test="${loginFans.fansId!=-1}">	
		    <c:forEach items="${tag.diggSet}" var="d">
				<c:if test="${d.fans.fansId==loginFans.fansId}">
					<c:set var="isSaved" value="true" />
				</c:if>
			</c:forEach> <c:if test="${isSaved==false}">
				<a href="javascript:digg(${tag.tagId})" style="font-size:20px;text-decoration: none;">顶！</a>
			</c:if> <c:if test="${isSaved==true}">
谢谢!
</c:if> 
</c:if></span></td>
		</tr>
	</table>
	</TD>

	<td>
	<h3><a href="viewTag/${tag.tagId}" class="title">${tag.title}</a></h3>
	<%@  include file="/include/remarkStatus.jsp"%><img
		src="images/article.gif"><a href="viewTag/${tag.tagId}">${tag.articleCount}篇文章</a>&nbsp;<img
		src="images/visit.gif">${tag.hot}次访问<br>
	<span class=smallLink><a href="user/${tag.fans.name}">${tag.fans.nickName}</a><span
		class=smallLink>&nbsp;推荐于&nbsp;${tag.submitDate} <br>
	<br>
	${tag.intro}<br></td>
</TR>
